﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StateManagement.aspx.cs" Inherits="dotNetTraining.ASP_NET.StateManagement" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <p>cooke and session</p>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
    <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><br />
    <asp:Label ID="lblSession" runat="server" Text="Label"></asp:Label><br />
    <asp:Label ID="lblCooke" runat="server" Text="Label"></asp:Label><br />

    <p>View Sate</p>
    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />
    <asp:Button ID="btnViewState" runat="server" Text="ViewState" OnClick="btnViewState_Click" /><br />
    <asp:Label ID="lblViewState" runat="server" Text="Label"></asp:Label><br /><br />

    <p>HiddenField</p>
    <asp:HiddenField ID="HiddenField_Demo" runat="server" Value="0" />
    <asp:Label ID="lblhdf" runat="server" Text="Label"></asp:Label>
</asp:Content>
